Insert Defaults Registry entry
Specify a set of values to display by default in a module when the module enters New mode. One or more sets of default values can be specified.
Usage
This Registry entry can be assigned to users and groups:
Key | User | Group | Group |
---|---|---|---|
Key 1 | User
|
Group
|
Group
|
Key 2 | user | group | Default
|
Key 3 | Table
|
||
Key 4 | table | ||
Key 5 | Insert Defaults
|
||
Key 6 | title | ||
Value | defaults |
Note:
An Insert Defaults|
title entry is generated automatically when a user with the daDefaults
permission sets default values using the Edit>Default Values menu option in a module. It can also be specified manually by an Administrator.
An Insert Defaults|Base Defaults
entry is specified by an Administrator.
The Base Defaults version of this entry is:
Key | User | Group | Group |
---|---|---|---|
Key 1 | User
|
Group
|
Group
|
Key 2 | user | group | Default
|
Key 3 | Table
|
Table
|
Table
|
Key 4 | table | table | table |
Key 5 | Insert Defaults
|
||
Key 6 | Base Defaults
|
||
Value | defaults |
where:
title |
is a name for the set of defaults that displays in the Defaults box (select Edit>Default Values>Change in New mode). Note: title must be unique and should be descriptive to assist users when selecting it from the Defaults box. |
defaults |
is in the format column=value;column=value;... where: column is the back-end name of a field and value is the default value to use in the field. If a field is a table of values, multiple values can be entered (one per line) by separating them with a tilde, e.g. column=value1~value2 A semicolon is used to separate each column=value pair. |
Example
The following example defines two default values when creating a new record in the Parties module:
Key | Setting |
---|---|
Key 1 | Group
|
Key 2 | Manager
|
Key 3 | Table
|
Key 4 | eparties
|
Key 5 | Insert Defaults
|
Key 6 | Base Defaults
|
Value | NamPartyType=Person
NamPrimaryLanguage=English
|